<div class="pm_modal small {{ctrl.class}}" role="dialog" style="display: block;">
    <form class="modal-dialog giftCodeModal-container" name="giftCodeForm" ng-submit="ctrl.submit()" novalidate>
        <button type="button" ng-click="ctrl.close()" aria-hidden="true" title-translate="Close" title-translate-context="Action" class="fa fa-times close"></button>
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" translate-context="Title" translate>Gift code</h4>
            </div>
            <div class="modal-body pm_form">
                <label translate-context="Label" translate>Gift code</label>
                <gift-code-input data-form="giftCodeForm" data-code="ctrl.giftCode"></gift-code-input>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="pm_button modal-footer-button" ng-click="ctrl.close()" translate-context="Action" translate>Cancel</button>
            <button class="pm_button primary modal-footer-button" ng-disabled="giftCodeForm.$invalid" translate-context="Action" translate>Apply</button>
        </div>
    </form>
    <div class="modal-overlay"></div>
</div>
